home *** CD-ROM | disk | FTP | other *** search
- Path: mdw050.cc.monash.edu.au!not-for-mail
- From: mdbie1@mdw050.cc.monash.edu.au (Mr Michael Bienstein)
- Newsgroups: comp.lang.c++
- Subject: Help with OLE VC++ v1.00 MFC 2.00
- Date: 19 Mar 1996 00:13:44 GMT
- Organization: Monash University
- Message-ID: <4iku7o$ada@harbinger.cc.monash.edu.au>
- NNTP-Posting-Host: mdw050.cc.monash.edu.au
- X-NNTP-Posting-User: mdbie1
- Summary: OLE Problems in VC++1.00, MFCV2.00
- Keywords: OLE, MFC, VC++
- X-Newsreader: TIN [UNIX 1.3 950823BETA PL0]
-
-
- HELP!!!
-
- I'm writing a program in VC++ V1.00 and MFC v2.00.
- I'm almost finished and the only thing missing is
- OLE Metafile being done correctly.
-
- The CF_METAFILE format calls the function correctly,
- the function draws the picture correctly but it doesn't
- get displayed in the client correctly.
-
- In Word for Windows v6.00 either the left half or
- a picture with the whole client rectangle as a boundary gets
- displayed. In Write, nothing gets displayed, in Works
- in works fine, in clipboard viewer it works fine etc.
- The actual picture is being drawn after making the centre
- of the picture the origin amongst other attribute changes.
-
- Also It doesn't re-size, so dragging the bounding rectangle
- just changes what part of the picture is shown rather than
- the scale.
-
- If anyone can help with this problem, explain what attribute
- functions I can call on a Metafile DC, how OnSetBounds works
- and all that sort of stuff, can you please contact me by e-mail
-
- mdbie1@mfs06.cc.monash.edu.au
-
- Thank-you in advance,
- Michael B.
-